package com.yinian.server.mapper;


import com.yinian.pojo.dto.OperaVideoDTO;
import com.yinian.pojo.dto.RadioDTO;
import com.yinian.pojo.vo.OperaVideoVO;
import com.yinian.pojo.vo.RadioVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RadioMapper {
@Select("select r.* from radio r join radio_category c on r.category_id = c.id where c.radio_type = #{radioType}")
     List<RadioVO> getRadioByRadioType(RadioDTO radioDTO);
}
